package main
import(
	"fmt"
)
func main() {
	var i int64 
	var k int64 = 0
	var class int64
	var allsum float64 = 0
	for class = 1 ; class <= 3 ; class ++ {
		var sum float64 = 0
		for i = 1 ; i <= 5 ; i++ {			
			var j float64
			fmt.Printf("请输入%v班第%d同学的成绩\n",class,i)
			fmt.Scanln(&j)
			if j >= 60 {
				k++
			}
			sum += j
		}
		fmt.Printf("%v班的平均分为%v\n",class,sum/5)
		allsum += sum
	//	fmt.Printf("%v班的平均分为%v\n",class,sum/(5*class))
	}
	fmt.Printf("3个班的总分为%v,平均分为%v",allsum,allsum/(3*5))
	fmt.Printf("3个班几个的人数为%v",k)
}